데이터 구조: 모 팀 CodeForces - 940 F - F. Machine Learning (이산 화 + 대모 대) The first line of input contains two integers n and q (1 ≤ n, q ≤ 100 000) — the length of the array and the number of queries respectively. The second line of input contains n integers — a1, a2, ..., an (1 ≤ ai ≤ 109). ... 데이터 구조: 모 팀
CodeForces - 940 F - F. Machine Learning (이산 화 + 대모 대) The first line of input contains two integers n and q (1 ≤ n, q ≤ 100 000) — the length of the array and the number of queries respectively. The second line of input contains n integers — a1, a2, ..., an (1 ≤ ai ≤ 109). ... 데이터 구조: 모 팀